ListBox.HeadingIndex Property

Syntax

HeadingIndex as Integer


Allows you to get and set the sort column in a ListBox. The first column is numbered zero.

This property is obsolete. To sort a ListBox, use the SortedColumn property to set the sort column and the ColumnSortDirection property to set the direction of the sort. Then call the Sort method to do the sort.